package cn.cmeizu.spring6.jdbc.xmltx.service;

/**
 * @author cmeizu
 * @date 2023/2/12 23:00
 */
public interface BookService {
  /**
   * 买书
   *
   * @param bookId 图书id
   * @param userId 用户id
   */
  void buyBook(Integer bookId, Integer userId) throws InterruptedException;

}
